Remove unnecessary checks
authorjustbur <justin@burkett.cc>
Fri, 3 Jul 2015 12:12:10 +0000 (08:12 -0400)
committerjustbur <justin@burkett.cc>
Fri, 3 Jul 2015 12:12:10 +0000 (08:12 -0400)
which-key.el

index 4f2220436d185fc22a3243b54e6f08f77b67a0c3..f87c040db5a555f1fb041c7609ca038c0473ebdd 100644 (file)
@@ -193,7 +193,7 @@ Finally, show the buffer."
                                           which-key-close-buffer-idle-delay
                                           nil 'which-key/hide-buffer))))
       ;; close the window
-      (when (window-live-p which-key--window) (which-key/hide-buffer)))))
+      (which-key/hide-buffer)))
 
 (defun which-key/setup ()
   "Create buffer for which-key."